package com.ms.p2p.provider.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.ms.p2p.provider.PasswordProvider;
import com.ms.p2p.service.impl.PasswordServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by daimajia on 2015/4/19 添加dubbo接口.
 */
@Service
public class PasswordProviderImpl implements PasswordProvider {
    @Autowired
    PasswordServiceImpl passwordService;

    public boolean checkPayPwd(int userId, String payPwd) {
        return passwordService.checkPayPwd(userId,payPwd);
    }
}
